package com.sgb.kjwl.view.event;

/**
 * Description:
 */
public class PickEvent {
    int messageTag;
    Object messageData;
    Object object;
    double longitude;
    double latitude;

    public static PickEvent make() {
        return new PickEvent();
    }

    public static PickEvent make(int tag, Object object) {
        PickEvent message = new PickEvent();
        return message.setMessageData(object).setMessageTag(tag);
    }

    public int getMessageTag() {
        return messageTag;
    }

    public PickEvent setMessageTag(int messageTag) {
        this.messageTag = messageTag;
        return this;
    }

    public Object getMessageData() {
        return messageData;
    }

    public PickEvent setMessageData(Object messageData) {
        this.messageData = messageData;
        return this;
    }

    public PickEvent setMessageData(Object messageData,double latitude,double longitude) {
        this.messageData = messageData;
        this.latitude = latitude;
        this.longitude = longitude;
        return this;
    }

    public Object getObject() {
        return object;
    }

    public PickEvent setObject(Object object) {
        this.object = object;
        return this;
    }

    public double getLongitude() {
        return longitude;
    }

    public double getLatitude() {
        return latitude;
    }
}
